<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2018/11/29
  Time: 14:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <style type="text/css">
        #rec_body {padding: 15px;}
        #rec_span{font-size: 25px;font-family: 新宋体;}
        #rec_div{float: right;}
        .client-table{background-color: #EEEEEE;width: 20%;}
    </style>
    <base href="<%=basePath%>"/>
    <link rel="stylesheet" href="static/commons/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="static/css/public.css" media="all" />
    <title>交往记录</title>
</head>

<body id="rec_body">

<div class="layui-row">
    <span id="rec_span">客户交往记录</span>
    <div class="layui-input-inline" id="rec_div">
        <a class="layui-btn layui-btn-molv add_rec_btn add_tip">
            <i class="layui-icon">&#xe654;</i>
        </a>
        <a class="layui-btn layui-bg-molv back_btn">
            <i class="layui-icon">&#xe65c;</i>
        </a>
    </div>
</div>
<hr>
<div>
    <table class="layui-table">
        <tr>
            <td class="client-table">客户编号</td>
            <td class="li">${param.id}</td>
            <td class="client-table">客户名称</td>
            <td>${param.name}</td>
        </tr>
    </table>
</div>
<hr/>


<%--显示记录--%>
<table id="recordList" lay-filter="recordList"></table>


<%--编辑删除按钮--%>
<script type="text/html" id="recordTool">
    <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="edit_btn">
        <i class="layui-icon">&#xe642;</i>编辑
    </a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del_btn">
        <i class="layui-icon">&#xe640;</i>删除
    </a>
</script>



<script type="text/javascript" src="static/commons/layui/layui.js"></script>
<script type="text/javascript" src="static/js/contact-record/contact-rec.js"></script>
</body>
</html>
